package Sqr;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 16.06.14
 * Time: 19:51
 * To change this template use File | Settings | File Templates.
 */
public class Var {

        public static void main(String[] args){
            Scanner var = new Scanner(System.in);
            Equal eq = new Equal();
            System.out.println("Введите число а");
            double a = var.nextDouble();
            eq.set_a(a);
            System.out.println("Введите число b");
            double b = var.nextDouble();
            eq.set_b(b);
            System.out.println("Введите число c");
            double c = var.nextDouble();
            eq.set_c(c);

            eq.roots();
        }
}
